<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加商品</title>
</head>
<body>
    <h2>添加商品</h2>
    <form action="/shop/addProduct.php" method="POST" enctype="multipart/form-data" >
        <div>
            <label>商品名:<input type="text" name="name" ></label>
        </div>
        <div>
            <label>简介: <textarea name="info" cols="30" rows="10"></textarea></label>
        </div>
        <div>
            <label>单价:<input type="text" name="price" ></label>
        </div>
        <div>
            <label>单位:<input type="text" name="unit" ></label>
        </div>
        <div>
            <label>图片:<input type="file" name="image" ></label>
        </div>
        <div><input type="submit" value="添加"></div>
    </form>
</body>
</html>